package com.imcreator.icchat;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Colors {
    // 背景颜色代号(41-46)
    // 前景色代号(31-36)
    // 前景色代号和背景色代号可选，就是或可以写，也可以不写
    // 数字+m：1加粗；3斜体；4下划线
    // 格式：System.out.println("\33[前景色代号;背景色代号;数字m");

    public static String RED = "\33[31m";
    public static String RED_BOLD = "\33[31;1m";
    public static String GREEN = "\33[32m";
    public static String GREEN_BOLD = "\33[32;1m";
    public static String YELLOW = "\33[33m";
    public static String YELLOW_BOLD = "\33[33;1m";
    public static String BULE = "\33[34m";
    public static String BULE_BOLD = "\33[34;1m";
    public static String PURPLE = "\33[35m";
    public static String PURPLE_BOLD = "\33[35;1m";
    public static String CYAN = "\33[36m";
    public static String CYAN_BOLD = "\33[36;1m";
    public static String WHITE = "\33[37m";
    public static String WHITE_BOLD = "\33[37;1m";
    public static String RESET = "\33[0m";
    public static String BOLD = "\33[1m";
    public static String ITALIC = "\33[3m";
    public static String UNDERLINE = "\33[4m";

    public static List<String> getBoldColors() {
        return new ArrayList<>(Arrays.asList(RED_BOLD, GREEN_BOLD, YELLOW_BOLD, BULE_BOLD,
                PURPLE_BOLD, CYAN_BOLD));
    }
}
